*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* 外层容器 */
.container{
    width: 400px;
    /* border: 1px solid gray; */
    margin: 50px auto;
    padding: 20px;
    border-radius: 5px;
    background-color:rgb(229, 209, 247); ;

}
/* 标题 */
.container h2{
    text-align: center;
    color: rgb(234, 128, 248);
    
}
/* 添加任务 */
.container .add{
    display: flex;
    justify-content:space-between;
    align-items: center;
    margin-top: 20px;
}
/* 输入框 */
.container input{
    flex: 1;
    border-radius: 5px;
    padding: 5px;
    margin-right: 10px;
    border: 1px solid gray;
    
}
.container input:focus{
    outline: none;
    border-color: aqua;
}
.container .add input::placeholder{
    color: rebeccapurple;

}
.container button{
    width: 40px;
    height: 25px;
    border-radius: 5px;
    background-color: rgb(204, 153, 252);
    border: none;
    cursor: pointer;
    color: white;
}
.container .category button{
    margin: 10px;
    /* padding: 20px; */
    width: 50px;
    height: 30px;
    
}
/* 搜索框 */
.container .search{
    padding: 10px 0;
}
.search input{
    width: 360px;
   
}
.line{
    text-decoration: line-through;
  }
.container .checkList li{
    display: flex;
    justify-content:space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f8f8;
    margin-top: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
  &:hover {
    transform: translateY(-5px);
  }
}
.footer{
    color: white;
    display: flex;
    justify-content:space-between;
}
.footer span{
padding: 10px;
color:rgb(234, 128, 248);
}
#editAlertBox{
    width: 200px;
    height: 120px;
    background-color:rgb(240, 179, 248);
    display: none;
    position: fixed;
    top:40%;
    right: 30%;
    
}
#editAlertBox p{
    text-align: center;
    color: #f8f8f8;
    margin: 10px;
}
#editAlertBox button{
   margin:10px 20px;
}
